﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkStation.Common
{
    public class MesParam
    {
        [DisplayName("URL"), Category("MES"), Description("URL")]
        public string URL { get; set; } = "http://10.40.200.18/F66_API_Pack/api/Standalone";

        [DisplayName("Line"), Category("MES"), Description("Line")]
        public string Line { get; set; } = "F66-VCM-02";

        [DisplayName("StationID"), Category("MES"), Description("StationID")]
        public string StationID { get; set; } = "FUNCTIONAL_TEST";

        [DisplayName("MachineID"), Category("MES"), Description("MachineID")]
        public string MachineID { get; set; } = "F66-02-FT-01";

        [DisplayName("OPID"), Category("MES"), Description("OPID")]
        public string OPID { get; set; } = "";

        [DisplayName("Token"), Category("MES"), Description("Token")]
        public string Token { get; set; } = "";

        [DisplayName("FisSN"), Category("MES"), Description("FisSN")]
        public string FixSN { get; set; } = "";
        [DisplayName("产品批次"), Category("产品"), Description("产品批次，需要在主页面输入")]
        public string LotNo { get; set; } = "";
        [DisplayName("MES使能"), Category("产品"), Description("MES使能")]
        public bool EnableMES { get; set; } = false;
        [DisplayName("MES FeedingCheck强制Pass"), Category("产品"), Description("MES FeedingCheck强制Pass")]
        public bool EnableMESFeedingCheck { get; set; } = false;
    }
}
